package com.ruoyi.otc.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业评测记录对象 otc_business_topic_log
 * 
 * @author gjp
 * @date 2023-10-24
 */
@TableName("otc_business_topic_log")
@Data
public class BusinessTopicLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 评测表主键 */
    @Excel(name = "评测表主键")
    private Long topicId;

    /** 评测项目名称 */
    private String topicName;


    /** 企业id */
    @Excel(name = "企业id")
    private Long businessId;

    /** 企业名称 */
    private String businessName;

    /** 总分数 */
    @Excel(name = "总分数")
    private Double sumScore;

    /** 主体资格分数 */
    @Excel(name = "主体资格分数")
    private Double mainbodyScore;
    private String mainbodyInfo;

    /** 独立性分数 */
    @Excel(name = "独立性分数")
    private Double independentScore;
    private String independentInfo;

    /** 财务与会计分数 */
    @Excel(name = "财务与会计分数")
    private Double financeScore;
    private String financeInfo;
    /** 业务与技术分数 */
    @Excel(name = "业务与技术分数")
    private Double technicalityScore;
    private String technicalityInfo;
    /** 规范运作分数 */
    @Excel(name = "规范运作分数")
    private Double operationScore;
    private String operationInfo;
    /** 其他分数 */
    @Excel(name = "其他分数")
    private Double otherScore;
    private String otherInfo;

    @TableField(exist =false)
    private String sketch;

    @Excel(name = "住所所在行政区划")
    @TableField(exist =false)
    private String domDistrict;

    @Excel(name = "所属行业")
    @TableField(exist =false)
    private String industryCo;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("topicId", getTopicId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("businessId", getBusinessId())
            .append("sumScore", getSumScore())
            .append("mainbodyScore", getMainbodyScore())
            .append("independentScore", getIndependentScore())
            .append("financeScore", getFinanceScore())
            .append("technicalityScore", getTechnicalityScore())
            .append("operationScore", getOperationScore())
            .append("otherScore", getOtherScore())
            .toString();
    }
}
